package client.status;

import client.MapleDisease;
import constants.GameConstants;
import handling.Buffstat;
import java.io.Serializable;

public enum MonsterStatus
        implements Serializable, Buffstat {

    物攻(1, 1),
    物防(2, 1),
    魔攻(4, 1),
    魔防(8, 1),
    命中(16, 1),
    回避(32, 1),
    速度(64, 1),
    眩晕(128, 1),
    结冰(256, 1),
    中毒(512, 1),
    封印(1024, 1),
    挑衅(2048, 1),
    物攻提升(4096, 1),
    物防提升(8192, 1),
    魔攻提升(16384, 1),
    魔防提升(32768, 1),
    巫毒(65536, 1),
    影网(131072, 1),
    免疫物攻(262144, 1),
    免疫魔攻(262144, 1),
    免疫伤害(524288, 1),
    忍者伏击(2097152, 1),
    烈焰喷射(4194304, 1),
    恐慌(16777216, 1),
    心灵控制(33554432, 1),
    反射物攻(536870912, 1),
    反射魔攻(1073741824, 1),
    抗压(2, 2),
    鬼刻符(4, 2),
    怪物炸弹(8, 2),
    魔击无效(16, 2),
    三角进攻(32768, 2),
    STING_EXPLOSION(65536, 2),
    空白BUFF(134217728, 1, true),
    召唤怪物(0x80000000, 1, true),
    EMPTY_1(32, 2, !GameConstants.GMS),
    EMPTY_2(64, 2, true),
    EMPTY_3(128, 2, true),
    EMPTY_4(256, 2, GameConstants.GMS),
    EMPTY_5(512, 2, GameConstants.GMS),
    主教_治愈术伤害加成(1024, 2),
    EMPTY_6(16384, 2, GameConstants.GMS),
    EMPTY_7(8192, 2, true),;
    static final long serialVersionUID = 0L;
    private final int i;
    private final int first;
    private final boolean end;

    private MonsterStatus(int i, int first) {
        this.i = i;
        this.first = first;
        this.end = false;
    }

    private MonsterStatus(int i, int first, boolean end) {
        this.i = i;
        this.first = first;
        this.end = end;
    }

    public int getPosition() {
        return this.first;
    }

    public boolean isEmpty() {
        return this.end;
    }

    public int getValue() {
        return this.i;
    }

    public static MonsterStatus getBySkill_Pokemon(int skill) {
        switch (skill) {
            case 120:
                return 封印;
            case 121:
                return 恐慌;
            case 123:
                return 眩晕;
            case 125:
                return 中毒;
            case 126:
                return 速度;
            case 137:
                return 结冰;
            case 122:
            case 124:
            case 127:
            case 128:
            case 129:
            case 130:
            case 131:
            case 132:
            case 133:
            case 134:
            case 135:
            case 136:
        }
        return null;
    }

    public static MapleDisease getLinkedDisease(MonsterStatus skill) {
        switch (skill) {
            case 眩晕:
            case 影网:
                return MapleDisease.STUN;
            case 中毒:
            case 恐慌:
                return MapleDisease.POISON;
            case 封印:
            case 魔击无效:
                return MapleDisease.SEAL;
            case 结冰:
                return MapleDisease.FREEZE;
            case 反射物攻:
                return MapleDisease.DARKNESS;
            case 速度:
                return MapleDisease.SLOW;
        }
        return null;
    }
}


/* Location:           C:\Users\文炳\Desktop\CXFBY\114Maplewing.jar
 * Qualified Name:     client.status.MonsterStatus
 * JD-Core Version:    0.6.2
 */